/*
 * @Author: wangyuan
 * @Date: 2023-10-23 23:22:28
 * @LastEditors: wangyuan
 * @LastEditTime: 2023-10-23 23:52:22
 * @Description: 请填写简介
 * 仅限内部使用
 */
import { defineConfig } from "orval";

/**
 * @description: orval typescipt  infacse 生成配置文件 详情配置信息参考https://orval.dev/guides/basics
 * @return {*}
 */

export default defineConfig({
  petstore: {
    output: {
      // baseUrl: "/api/v2",
      mode: "single",
      target: "./src/petstore.ts",
      schemas: "./src/model",
    },
    input: {
      target: "http://1.94.56.129:8085/v3/api-docs",
    },
  },
});
